package org.example.Study.Mq.amqp.listener;
import com.rabbitmq.client.Channel;
import org.springframework.amqp.core.Message;

/**
 * @Author : zhangbo
 * @data : 2024/6/13
 * @description :
 */
@FunctionalInterface
public interface MessageHander {
    /**
     * 接收信息的接口方法
     */
    void handle(Message message, Channel channel);
}
